/*
 * @Description: 文件内容描述
 * @Author: pangyawei
 * @Date: 2022-06-20 10:20:58
 * @LastEditTime: 2022-06-21 17:35:40
 * @LastEditors: xxx
 */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

import monacoEditorPlugin from "vite-plugin-monaco-editor"
// https://vitejs.dev/config/
export default defineConfig({
    
  base:'/',
  plugins: [vue(), monacoEditorPlugin()],
  resolve: {
		alias: {
			'@': path.resolve(__dirname, 'src'),
		}
	},


    build:{
		terserOptions:{
			compress:{
				drop_console:true
			}
		},
		emptyOutDir:true,
	}
})
